package office.service.system;

import java.util.List;

import office.bo.system.Department;

public interface ISystemService {
	
	public void saveDepartment(String parentId ,Department department);
	
	public List<Department> getAllDepartment() ;
	
	public Department getDepartmentById(String id) ;
	
	public void deleteDepartmentById(String id);
	
	public Department getParent(String id);
	
	public Department getParentFor(Department newDepartment);
	
	public List<Department> getDescendants(String departmentId);
	
	public List<Object> getDepartment(String departmentId,String companyId);
	
	public List<Object> getDescendantsId(String id);
}
